<html>
<head>
	<title>Newsletter -- Mercado Vial</title> 
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />   	
	<base href="{$urlBase}/" />	
</head>
<body>
<div class="outer_containertable" align="center">
<div class="iner_containertable"  style="width: 700px;" align="left">
	<div class="containertable">
	<p>
	<center><small><a target="_blank" href="{$urlCurrent}">[{$smarty.const.EF_LINK_NEWSLETTER}]</a></small></center>
	</p>	
	<table width="700" border="0" cellspacing="0" cellpadding="0">
	<tbody>
	  <tr>
		<td width="247">
				<img src="{$urlBase}/layout_images/new/header-logo.jpg" alt="" width="247" height="130" 
				style="cursor: pointer" onclick="javascript:location.href='{$urlBase}';" />
		</td>
		<td>
			<table border="0" cellspacing="0" cellpadding="0"">
			<tbody>	  	
		  		<tr>
					<td height="80" colspan="4" rowspan="3">
					<div style="margin-top: 10px; margin-left: 10px;">		
						{php}
							@include("admin/config/gen_inc.php");
							$set_domain_base_url = "http://".$set_url."/";
							$section="banner_central";
							include "ad_get.php";
						{/php}
					</div>		 
					</td>
				</tr>
				<tr></tr>
				<tr></tr>
			</tbody>
			</table>
		</td>
	  </tr>
	</tbody>
	</table>
	</div>
<!-- BREADCRUMB -->		
<div style="border-bottom:1px dashed #A2A2A2;color:#222222;width: 700px;"></div>
{******************************************************************************}
<div style="clear:both;"></div>
<div style="clear:both;" >
<img alt="" src="{$urlBase}/layout_images/new/newsletter-titulo_700.gif">	
	{if $showBanners}
 	<div style="position:relative;height: 100px;clear:both;" > 	
 	<div id="banner_horizontal" style="position:absolute;top:10px;left: 1px;display: inline;"  >  	 
		{php}	
				
 				echo "<div class=\"horizontalIzquierdo\">";
		    	$section="banner_horizonal_iz_newsletter";
				include "ad_get.php";
				echo "</div><div class=\"horizontalDerecho\">";				
				$section="banner_horizonal_de_newsletter";
				include "ad_get.php";
				echo "</div>";
		{/php}
	</div>
	</div>
	{/if}
</div>
<p>&nbsp;</p>

<div style="clear: both; width: 700px;" id="fp_container">

{******* COLUMNA DE AVISOS PRINCIPAL **********}
{assign var=mercadoCount value=0 }
{assign var=mercadoCount value=$mercadoCount+1 }
	 
<div style="width: 700px; position: absolute;" id="main_col">
	<table cellspacing="0" cellpadding="0" style="width: 700px;"> {*tabla super contenedora*}	
	<tr>
	<td style="width: 580px;">
	{foreach item=mercado from=$mercados}		
	<table cellspacing="0" background="{$urlBase}/layout_images/new/fondo-lista-categoria-corto.gif" style="height: 61px;width : 174px !important;">
		<tr>
			<td style="font-size: 13px;">&nbsp;<strong>{$mercado.CATNAME}</strong></td>
			<td><img hspace="2" style="height: 50px;" alt="" src="{$urlBase}{$mercado.CATIMAGE}"/></td>
		</tr>
	</table>
	<table cellspacing="0" background="{$urlBase}/layout_images/new/bg-box.gif" class="ads-table mvial-search-table" style="clear:both; margin: 5px 0px;border-top:1px solid #dedede;border-left: 1px solid #dedede;border-right: 1px solid #dedede;border-bottom: 1px solid #dedede;background-color: #FAFAFA;font-size: 11px;width: 580px;">	
	<tr style=" height: 23px;					
				white-space: nowrap;
				text-align: left;
				vertical-align: middle;								
			    font: bold 11px verdana, sans-serif;font-size: 11px;				
				color:#000000;">
		{if $mercado.SERVICIOS != 1}
		<th style="padding: 5px 14px !important;border-bottom: 1px solid #999999;border-color:-moz-use-text-color -moz-use-text-color #999999;border-style:none none solid;border-width:medium medium 1px;">{$smarty.const.PICTURE_TEXT} </th>
		<th style="padding: 5px 14px !important;border-bottom: 1px solid #999999;border-color:-moz-use-text-color -moz-use-text-color #999999;border-style:none none solid;border-width:medium medium 1px;">{$smarty.const.CATEGORY}     </th>	
		<th style="padding: 5px 14px !important;border-bottom: 1px solid #999999;border-color:-moz-use-text-color -moz-use-text-color #999999;border-style:none none solid;border-width:medium medium 1px;">{$smarty.const.EF_AVISO_TYPE}     </th>			
		<th style="padding: 5px 14px !important;border-bottom: 1px solid #999999;border-color:-moz-use-text-color -moz-use-text-color #999999;border-style:none none solid;border-width:medium medium 1px;">{$smarty.const.TITLE}   </th>
		{else}
			<th style="border-bottom: 1px solid #999999;border-color:-moz-use-text-color -moz-use-text-color #999999;border-style:none none solid;border-width:medium medium 1px;">{$smarty.const.DESCRIPTION} </th>
		{/if}		
	</tr>
	{foreach item=ad from=$mercado.ads}
	<tr style="height: 70px;">
	{if $mercado.SERVICIOS !=1  }
		<td style="padding: 5px 15px !important;font-size: 11px;border-bottom:1px dashed #999999;vertical-align:top;">{$ad.IMAGEYESNO}</td>
		<td style="padding: 5px 15px !important;font-size: 11px;border-bottom:1px dashed #999999;vertical-align:top;">{$ad.CATEGORYNAME}</td>
		<td style="padding: 5px 15px !important;font-size: 11px;border-bottom:1px dashed #999999;vertical-align:top;">{$ad.OPERACION}</td>
		<td style="padding: 5px 15px !important;font-size: 11px;border-bottom:1px dashed #999999;vertical-align:top;">{if $ad.SPECIAL}<b>{/if}<a href="{$ad.LINK}" alt="" target="_blank" style="color:#C23A27;font-size:11px;text-decoration:none;">{$ad.TITLE|truncate:50:"...":true}</a>{if $ad.SPECIAL}</b>{/if}&nbsp;</td>	
	{else} {*servicios*}
	 <td>
	 	<div style="background:#EFDDBA none repeat scroll 0 0;border:1px solid #9F9985;">
	 		<table cellspacing="0" class="" style="clear:both; width: 574px">
	 		<tr rowspan="2">	
	 			<td colspan="2" style="border-bottom:1px dashed #999999;vertical-align:top;font-size:11px;padding:5px 15px !important;">{$ad.IMAGEYESNO}</td> 			
	 			<td colspan="2" style="border-bottom:1px dashed #999999;vertical-align:top;font-size:12px;padding:5px 15px !important;text-align:left;">
	 				<a href="{$ad.LINK}" target="_blank" title="{$ad.TITLE|escape}" style="color:#C23A27;font-size:11px;text-decoration:none;" >
						{if $ad.SPECIAL}<b>{/if}{$ad.TITLE|truncate:50:"...":true}{if $ad.SPECIAL}</b>{/if}</a><br/>
					<small>({$ad.CATEGORYNAME})</small>	<br/>				
	 				 {$smarty.const.LA_PRICE}&nbsp;<small>{$ad.MONEDA}</small>&nbsp;{$ad.PRECIO}		
	 				&nbsp;
	 			</td> 			
	 		</tr> 		
	 		<tr></tr>
	 		<tr>
	 			<td colspan="4" style="vertical-align:top;font-size:11px;padding:5px 15px !important;">
	 			{if $ad.SPECIAL}<b>{/if}{$ad.DESCRIPTION|truncate:100:"...":true|strip_tags:""}{if $ad.SPECIAL}</b>{/if}
	 			&nbsp;</td>
	 		</tr>	
		 </table>
		</div>
	</td>
	{/if}
	</tr>	
	{/foreach} {*avisos*}
	</table>
	{/foreach} {*mercados*}
	</td>
	<td style="height:770px;top:1px;width:120px;" rowspan="{$totalOfAds}">
				{******    BANNERS    *****}
				<!--div id="right_col" style="height:770px;{$bannerposition}top:1px;width:120px;"-->
						    <div id="banner_vertical_front" style="height:770px;margin-left:10px;padding-top:1px;top:10px;padding-bottom: 11px;{$bannerposition}">
						    	<div style="margin-top: 10px;" >
							    {php}							    
									$section="banner_principal_01";
									include "ad_get.php";
								{/php}
								</div>
								<div style="margin-top: 10px;" >
								{php}									
									$section="banner_principal_02";
									include "ad_get.php";
								{/php}
								</div>						
								<div style="margin-top: 10px;" >
								{php}									
									$section="banner_principal_03";
									include "ad_get.php";
								{/php}
								</div>						
							</div>
				<!--  div-->
				{*** end banners***}
	</td>
	</tr>	
</table> {*FIN tabla super contenedora*}	
{******** NOTICIAS *********}	
{if $contentNews}
<div style="clear:both;"></div>
<table cellspacing="0" background="{$urlBase}/layout_images/new/noticias-titulo_700.gif" height="30" width="700" 
style="background-repeat: no-repeat;width: 700px; height: 30px;text-align: right;color:#FFFFFF;font-family:tahoma,sans-serif;font-size:11px;padding-top: 4px;padding-right: 10px;">
<tr><td>&nbsp;para más detalles ingrese a <a href="http://blog.mercadovial.com" style="color:#e0faff;font-family:tahoma,sans-serif;font-size:11px;padding-top: 4px;padding-right: 10px;">http://blog.mercadovial.com</a></td></tr>
</table>

<table width="700" border="0" cellspacing="0" cellpadding="0">
	<tbody>
	  <tr>
		<td style="font-size:14px;" >
				{$contentNews}
		</td>		
	</tr>
	</tbody>
</table>
{/if}
{*******FIN NOTICIAS *********}
{**********GENERAlIDADES************}
<table cellspacing="0" background="{$urlBase}/layout_images/new/general-titulo_700.gif" height="30" width="700" 
style="background-repeat: no-repeat;width: 700px; height: 30px;text-align: right;color:#FFFFFF;font-family:tahoma,sans-serif;font-size:11px;padding-top: 4px;padding-right: 10px;">
<tr><td>&nbsp;</td></tr>
</table>
<span style="font-family:tahoma,sans-serif;font-size:12px;padding-top: 4px;padding-right: 10px;"">
	
		Para visualizar las imágenes de este newsletter deberá estar conectado a Internet. Si tiene dificultades para visualizar algún elemento ingrese al newsletter on line:
		<br/><center><a target="_blank" href="{$urlCurrent}">{$smarty.const.EF_LINK_NEWSLETTER}</a></center>
	

	<p>
		 <strong>PUBLICIDAD:</strong> Interesados en publicitar un banner de su empresa en <font color="#FF6600">Mercadovial.com</font> (sitio web y/o newsletter)?, contactarse al email <a href="mailto:publicidad@mercadovial.com" style="text-decoration: none;" >publicidad@mercadovial.com</a></font>
	</p>
	<p>
		Registre Gratis su empresas en nuestro <strong>DIRECTORIO de SERVICIOS</strong> (deberá estar registrado en nuestra web)
	</p>
</span>

 
{**********FIN GENERALIDADES**************}
{**********FOOTER              ***********}
<table cellspacing="0" background="{$urlBase}/layout_images/new/footer_800.jpg" height="100" width="700" style="background-repeat: no-repeat;color:#FFFFFF;position:relative;padding: 0;margin: 0;font-family:tahoma,sans-serif;font-size:12px;font-weight:bold;">
		<tbody>
		<tr>				
			<td colspan="3" style="padding-left: 20px;">
				<small>
				Usted recibe este newsletter porque se ha suscripto colocando su email en el formulario ubicado en la web de Mercadovial.
				Si desea cancelar la suscripción, haga clic aquí: 
				<a href="{$urlBase}/newsletter_dialog.php?header=1" target="_blank" style="color:#FFFFFF;font-family:tahoma,sans-serif;font-size:10px;font-weight:bold;">Cancelar Suscripción</a>
				</small>			
			</td>
		</tr>
		<tr>			
			<td><div style="text-align: left; margin-left: 20px;">
					Copyright 2009, mercadovial
				</div>
			</td>
			<td><div style="text-align: right;margin-right: 20px;"><a href="mailto:info@mercadovial.com" style="text-decoration: none;color:#FFFFFF;position:relative;padding: 0;margin: 0;font-family:tahoma,sans-serif;font-size:12px;font-weight:bold;" >info@mercadovial.com</a></div></td> 
		</tr>
		</tbody>
</table>
{********* FIN DE FOOTER *****************}
</div>
</div> {******* FIN DEL CONTENEDOR DE AVISOS Y COLUMNA PRINCIPAL**}
</div>
</div> {* outer containable*}

</body>
</html>
